package com.chuanyang.driverh.response2.join;

import com.chuanyang.driverh.responseresult.Result;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xupeixian on 2017/4/14.
 */

public class ResultSearchList extends Result implements Serializable{


    /**
     * code : 100
     * data : {"data":[{"dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","fleetId":230,"fleetLeader":970,"fleetName":"崔丽车队","image":"http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/78dd913f-408a-4c3b-8317-a9d7e39f5d3b.jpg","joinedNum":0,"returned":0}],"total":1,"totalPages":1}
     * resultId : 7cd055e0-ba0a-40d3-9fa0-ddf4926fb1c4
     */

    private DataBeanX data;
    private String resultId;

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getResultId() {
        return resultId;
    }

    public void setResultId(String resultId) {
        this.resultId = resultId;
    }

    public static class DataBeanX {
        /**
         * data : [{"dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","fleetId":230,"fleetLeader":970,"fleetName":"崔丽车队","image":"http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/78dd913f-408a-4c3b-8317-a9d7e39f5d3b.jpg","joinedNum":0,"returned":0}]
         * total : 1
         * totalPages : 1
         */

        private int total;
        private int totalPages;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * dateEndSuffix :  23:59:59
             * dateStartSuffix :  00:00:00
             * fleetId : 230
             * fleetLeader : 970
             * fleetName : 崔丽车队
             * image : http://1212testbucket.oss-cn-shanghai.aliyuncs.com/DriverImage/78dd913f-408a-4c3b-8317-a9d7e39f5d3b.jpg
             * joinedNum : 0
             * returned : 0
             */

            private String dateEndSuffix;
            private String dateStartSuffix;
            private int fleetId;
            private int fleetLeader;
            private String fleetName;
            private String image;
            private int joinedNum;
            private int returned;

            public String getDateEndSuffix() {
                return dateEndSuffix;
            }

            public void setDateEndSuffix(String dateEndSuffix) {
                this.dateEndSuffix = dateEndSuffix;
            }

            public String getDateStartSuffix() {
                return dateStartSuffix;
            }

            public void setDateStartSuffix(String dateStartSuffix) {
                this.dateStartSuffix = dateStartSuffix;
            }

            public int getFleetId() {
                return fleetId;
            }

            public void setFleetId(int fleetId) {
                this.fleetId = fleetId;
            }

            public int getFleetLeader() {
                return fleetLeader;
            }

            public void setFleetLeader(int fleetLeader) {
                this.fleetLeader = fleetLeader;
            }

            public String getFleetName() {
                return fleetName;
            }

            public void setFleetName(String fleetName) {
                this.fleetName = fleetName;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getJoinedNum() {
                return joinedNum;
            }

            public void setJoinedNum(int joinedNum) {
                this.joinedNum = joinedNum;
            }

            public int getReturned() {
                return returned;
            }

            public void setReturned(int returned) {
                this.returned = returned;
            }
        }
    }
}
